import greenfoot.*;

public class Message extends Actor
{    
    private String message;
    
    /**
     * Message Constructor. This class show a message in the screen.
     */
    public Message( String m)
    {
        GreenfootImage notice;
        
        message = m;
        notice = new GreenfootImage( message, 50, java.awt.Color.white, java.awt.Color.red);
        setImage( notice); 
    }
    
    /**
     * Method act.
     */
    public void act(){}    
}
